<!DOCTYPE html>
<html lang="en">
<head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="<?=base_url().'assets/css/login.css'?>" />
        <title>Login</title>       
</head>
<body>

<div id="wrapper">

    
      <?php
         $form = array('name'=>'login-form','class'=>'login-form');
         echo form_open('user/validate',$form);
		 
	  ?>
	
		<div class="header">
		<h1 style="color:#009900">ARC Login</h1>
		<span>Enter your email and password to login.<br />forgot password? <a href="#">reset here</a></span>
		</div>
	
		<div class="content">
        <?php
         $email = array('name'=>'txtEmail','class'=>'input username','placeholder'=>'username');
         echo form_input($email);
		?>
		<div class="user-icon"></div>
		
        <?php
         $password = array('name'=>'txtPassword','class'=>'input password','placeholder'=>'password');
         echo form_password($password);
		?>
        <div class="pass-icon"></div>		
		</div>

		<div class="footer">
		<input type="submit" name="submit" value="Login" class="button" />
        
        <a href="<?=base_url().'user/signup'?>"  class='button'>Register</a>	
        </div>
	</form>
         
        <div style="padding:10px; font-size:14px; color:#F00; text-align:center">
        	<span><?=validation_errors()?></span>
        </div>
</div>

</body>

</body>
</html>
